package Homework;

import java.util.concurrent.Callable;

public class GetSum implements Callable<Integer>{
	int start;	
	
	public GetSum(int start) {
		this.start = start;
	}

	@Override
	public Integer call() throws Exception {
		int sum = 0;
		for(int i = 1;i<=10;i++,start++){
			sum+=start;
		}
		return sum;
	}
	
}
